using System.Text;
using System.Web.UI;

namespace RealDolmen.SharePoint.ListFeatures.Controls
{
    public class StringBuilderControl : Control
    {
        #region Fields
        private StringBuilder stringBuilder;
        #endregion // Fields

        #region Properties
        public StringBuilder StringBuilder
        {
            get { return stringBuilder; }
            set { stringBuilder = value; }
        } 
        #endregion // Properties

        #region Constructor
        public StringBuilderControl()
        {
            StringBuilder = new StringBuilder();
        } 
        #endregion // Constructor

        #region Overrides
        protected override void Render(HtmlTextWriter writer)
        {
            writer.Write(StringBuilder);
        } 
        #endregion // Overrides
    }
}
